home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / p / pov / povlisti.ngs / sword.pov < prev    next >
Encoding:
Text File  |  1992-10-29  |  1.1 KB  |  62 lines

  1. //
  2. // SWORD.POV
  3. // This file is a simple demonstration file to be used with
  4. //  SWORD.INC.  This file is basically the basicvue.pov with 
  5. //  some minor changes.  
  6. //
  7. // This will trace on an SGI 4D in around 30 seconds at 320x200 
  8. //  resolution.  Sorry, no other numbers for other machines...
  9. //
  10.  
  11. #include "colors.inc"
  12. #include "shapes.inc"
  13. #include "shapesq.inc"
  14. #include "textures.inc"
  15. #include "sword.inc"
  16.  
  17. camera {
  18.    location <0.0  0.0  -30.0>
  19.    direction <0.0 0.0  1.0>
  20.    up  <0.0  1.0  0.0>
  21.    right <1.33333 0.0 0.0>
  22.    look_at <5 5 0>
  23. }
  24.  
  25. // Light source
  26. object {
  27.    light_source {
  28.       < 3 30 -31 > color White
  29.    }
  30. }
  31.  
  32. // Sky sphere 
  33. object {
  34.    sphere { <0 0 0> 10000 }
  35.    texture {
  36.       ambient 1.0  // Bath it in so much "light" that it doesn't have any shadows
  37.       diffuse 0.7
  38.       color NeonBlue .7
  39.       brilliance 2
  40.    }
  41. }
  42.  
  43. // Floor plane 
  44. object {
  45.    plane { <0.0 1.0 0.0> -10 }
  46.    colour White
  47.    texture {
  48.       colour NeonBlue
  49.       ambient 0.15
  50.       diffuse 0.8
  51.    }
  52. }
  53.  
  54. //  Add in the actual sword, scale and rotate it.
  55. //
  56. object { 
  57.     Sword1
  58.     scale < 3.5 3.5 3.5 >
  59.     rotate < 25 0 33 >
  60. }
  61.  
  62.